// var TN_Widget = function() { return { //Options newWindow : true, linkText : "view
tickets", tixUrl : "http://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[0] +"" + row[1] +"
" + row[2] +"" + row[3] +"
" + row[4] + "
" + row[5] + ""+ this.linkText+ ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kywrds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability if(this.kbid != "") this.trackingParams = "?img=249&kbid="+this.kbid; var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-01A TN_Widget.CreateTable([['John Legend','Choctaw Casino & Resort - Durant','Durant, OK','Friday','5/31/2024','8:00 PM','6264761','John-Legend-5-31-2024'],['John Legend & Wolf Trap Orchestra','Wolf Trap National Park for the Performing Arts','Vienna, VA','Tuesday','6/4/2024','8:00 PM','6240974','John-Legend---Wolf-Trap-Orchestra-6-4-2024'],['John Legend & Wolf Trap Orchestra','Wolf Trap National Park for the Performing Arts','Vienna, VA','Wednesday','6/5/2024','8:00 PM','6240975','John-Legend---Wolf-Trap-Orchestra-6-5-2024'],['John Legend & Wolf Trap Orchestra','Wolf Trap National Park for the Performing Arts','Vienna, VA','Thursday','6/6/2024','8:00 PM','6240976','John-Legend---Wolf-Trap-Orchestra-6-6-2024'],['John Legend','Borgata Event Center','Atlantic City, NJ','Friday','6/21/2024','8:00 PM','6264762','John-Legend-6-21-2024'],['John Legend','Wind Creek Event Center','Bethlehem, PA','Saturday','6/22/2024','8:00 PM','6264763','John-Legend-6-22-2024'],['John Legend','Chateau Ste Michelle Winery','Woodinville, WA','Saturday','7/20/2024','7:00 PM','6264764','John-Legend-7-20-2024'],['John Legend','Chateau Ste Michelle Winery','Woodinville, WA','Sunday','7/21/2024','7:00 PM','6264765','John-Legend-7-21-2024'],['John Legend & San Francisco Symphony','Davies Symphony Hall','San Francisco, CA','Tuesday','7/23/2024','7:30 PM','6362442','John-Legend---San-Francisco-Symphony-7-23-2024'],['John Legend & San Francisco Symphony','Davies Symphony Hall','San Francisco, CA','Wednesday','7/24/2024','7:30 PM','6362443','John-Legend---San-Francisco-Symphony-7-24-2024'],['John Legend','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','8/2/2024','8:00 PM','6264766','John-Legend-8-2-2024'],['John Legend','Greek Theatre - Los Angeles CA','Los Angeles, CA','Saturday','8/3/2024','8:00 PM','6264767','John-Legend-8-3-2024'],['John Legend','Saratoga Performing Arts Center','Saratoga Springs, NY','Wednesday','8/7/2024','7:15 PM','6265660','John-Legend-8-7-2024'],['John Legend','Event Center at Turning Stone Resort & Casino','Verona, NY','Saturday','8/10/2024','8:00 PM','6264768','John-Legend-8-10-2024'],['John Legend','Koka Booth Amphitheatre At Regency Park','Cary, NC','Sunday','8/11/2024','7:00 PM','6265075','John-Legend-8-11-2024'],['John Legend & San Diego Symphony Orchestra','The Rady Shell at Jacobs Park','San Diego, CA','Thursday','8/15/2024','7:30 PM','6309726','John-Legend---San-Diego-Symphony-Orchestra-8-15-2024'],['John Legend','The Venue At Thunder Valley Casino','Lincoln, CA','Friday','8/16/2024','8:00 PM','6264770','John-Legend-8-16-2024'],['John Legend','Daily's Place Amphitheater','Jacksonville, FL','Saturday','8/24/2024','8:00 PM','6414847','John-Legend-8-24-2024'],['John Legend','Seminole Hard Rock Tampa Event Center','Tampa, FL','Sunday','8/25/2024','8:00 PM','6414850','John-Legend-8-25-2024'],['John Legend','Ameris Bank Amphitheatre','Alpharetta, GA','Monday','9/9/2024','8:00 PM','6414852','John-Legend-9-9-2024'],['John Legend','Riverbend Music Center','Cincinnati, OH','Tuesday','9/10/2024','7:30 PM','6414853','John-Legend-9-10-2024']],'John Legend','http://www.ticketnetwork.com/ticket/John-Legend-events.aspx');